package org.suk.dp.strategy;

/**
 * Description: 收费上下文<br/>
 * @version V1.0  2017/6/20 12:33  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class CashContext {
    private CashSuper cs;

    public CashContext(CashSuper cs) {
        this.cs = cs;
    }

    double getResult(double money){
        return this.cs.acceptCash(money);
    }
}
